package com.boot;

import com.boot.config.UpConfig;
import com.boot.domain.User;
import org.springframework.boot.SpringApplication;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * @author
 * @date 2025-07-28
 * @Description
 */
public class MainApplication {
    public static void main(String[] args) {
        ConfigurableApplicationContext applicationContext = SpringApplication.run(UpConfig.class);
        User user = (User) applicationContext.getBean(User.class);
        System.out.println(user);

    }
}
